package com.t216.dm216.common;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtils {
    private static final String TIME_MILLS = "yyyyMMddHHmmssms";

    private static final String YYYY_MM_DD = "yyyy-MM-dd";

    //工作的时候 会提前把可能会用到的所有工具先提前定义好
    public static String getTimeMills(){
        SimpleDateFormat sdf = new SimpleDateFormat(TIME_MILLS);
        return sdf.format(new Date());
    }

    public static Date getDate(){
        return new Date();
    }


}
